﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<Response>
  <Header>
    <Status>
     <%
         ModelState err = ViewContext.ViewData.ModelState["err"];
         BoardPACDSWeb.Controllers.GenException result = null;

         if (err != null)
         {
             result = (BoardPACDSWeb.Controllers.GenException)err.Errors.ElementAt(0).Exception;  %>
         <code><%: result.Code%></code>
         <description><%:  BoardPACDSWeb.Lang.Resources.ResourceManager.GetString(result.Code)%></description>  
       <%}
         else
         { %>
         <code>0</code>
         <description>Success</description> 
       <%} %> 
    </Status>
    <Tracking>
      <ServerId><%--<%=ConfigurationManager.AppSettings["ServerId"].ToString()%>--%></ServerId>
      <ServerTime><%=DateTime.Now%></ServerTime>
      <WebAppVersion><%--<%=ConfigurationManager.AppSettings["WebAppVersion"].ToString()%>--%></WebAppVersion>
      <CooperateId><%--<%=ConfigurationManager.AppSettings["CooperateId"].ToString()%>--%></CooperateId>
    </Tracking>
  </Header>
  <Data>

  </Data>
</Response>
